package foodmaterial.entity;

import foodmaterial.action.valid.ObjectNullValid;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.Min;
import java.io.Serializable;

/**
 * 需要单独维护价格的客户
 */
public class CustomerPrice implements Serializable {
    private static final long serialVersionUID = 6592543347600389229L;
    @ObjectNullValid(message = "配送客户不能为空")
    private Long customerId; //'配送客户',
    private String customerName ;
    @ObjectNullValid(message = "模板不能为空")
    private Long templateId ;
    private String templateName ;
    private Boolean originalProcess ;

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public Long getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Long templateId) {
        this.templateId = templateId;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public Boolean getOriginalProcess() {
        return originalProcess;
    }

    public void setOriginalProcess(Boolean originalProcess) {
        this.originalProcess = originalProcess;
    }
}
